import request from "@/utils/request";

export function getCateList(query) {
  return request({
    url: `/api/product-cate`,
    method: "get",
    params: query,
  });
}

export const deleteCate = (id) => {
  return request({
    url: `/api/product-cate/${id}`,
    method: "delete",
  });
};
